// =====================图纸审批流程====================
import request from '@/router/axios';
export const expenseProcess = (data) => {
  return request({
    url:'/api/data-drawing-process/drawingprocess/start-process',
    method:'post',
    data
  })
}

// 通过id获取实例信息
export const expenseDetail = (businessId) => {
  return request({
    url:'/api/data-drawing-process/drawingprocess/detail',
    method:'get',
    params:{
      businessId
    }
  })
}
// 完成审批节点
export const completeExpenseTask = (data) => {
  return request({
    url:'api/data-drawing-process/drawingprocess/complete-task',
    method: 'post',
    data
  })
}

// 未能完成
export const noCompleteExpenseTask = (data) => {
  return request({
    url:'api/data-drawing-process/drawingprocess/no-complete-task',
    method: 'post',
    data
  })
}

